//
//  AppDelegate+App.m
//  ZZmetro
//
//  Created by 一介布衣 on 2020/6/5.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import "AppDelegate+App.h"
#import <objc/runtime.h>
#import <UIKit/UIKit.h>


@implementation AppDelegate (App)
- (UIViewController *)currentCtl
{
    return objc_getAssociatedObject(self, _cmd);
}

- (void)setCurrentCtl:(UIViewController *)currentCtl
{
    objc_setAssociatedObject(self, @selector(currentCtl), currentCtl, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
@end
